package com.ffox.mapper;

import com.ffox.entity.SchoolApproval;
import com.ffox.entity.SchoolInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface SchoolLoginMapper {
    //    根据number查数据
    public SchoolInformation getSchoolByNumber(String number);

    //增加
    public Integer insertSchool(SchoolApproval schoolApproval);

    //    修改
    public Integer updateSchool(@Param("id") Long id, @Param("params") Map<String, Object> params);
}
